<?

class graphSystemUptime extends graphBase {
	protected $rrdFile =  'processes_user_uptime.rrd';
	protected function getOptions() {
		return array(
			'--lower-limit',0,
			'-v','Days',
			'DEF:uptime='.$this->rrdPath.':uptime:AVERAGE',
			'CDEF:cuptime=uptime,86400,/',
			'AREA:cuptime#EEEEEE:Uptime',
			'LINE1.25:cuptime#36393D:','GPRINT:cuptime:LAST:%6.2lf','GPRINT:cuptime:AVERAGE:%6.2lf','GPRINT:cuptime:MAX:%6.2lf','GPRINT:cuptime:AVERAGE:%6.2lf\n',
			'COMMENT:Days      Current  Minimum  Maximum  Average\n'
		);
	}
}